<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/base.css" rel="stylesheet" type="text/css" />
<link href="css/index.css" rel="stylesheet" type="text/css" />

<link href="css/index2.css" rel="stylesheet" type="text/css"  />

<title>森特首页</title>
<script type="text/javascript" src='js/jquery.js'></script>
<script type="text/javascript" src="js/superslide.2.1.js"></script>
<script type="text/javascript" src="js/slidelf.js"></script>

<script language="JavaScript" type="text/javascript" src="js/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="js/effects.js"></script>
<script language="JavaScript" type="text/javascript" src="js/glider.js"></script>
</head>

<body>
<div class="container">
<!--  top-->
<div  class="top">
  <p></p>
  <div class="logo">
        <div class="right">
         <ul>
             <li><span><a href="#"><img src="img/top_06.png" width="35" height="31" /></a></span></li>
              <li>分享主页</li>
              <li><span><a href="#"><img src="img/top_08.png" width="37" height="31" /></a></span></li>
              <li><span><a href="#"><img src="img/top_09.png" width="35" height="31" /></a></span></li>
              <li><span><a href="#"><img src="img/top_10.png" width="36" height="31" /></a></span></li>
              <li><span><img src="img/top_14.png" width="35" height="28" /></span></li>
              <li>客服中心</li>
              <li>&nbsp;02038812035</li>
          </ul>
      </div>
  </div>
</div>
<!--  nav-->
    <div class="nav">
          <div class="nav_weizhi">
              <ul>
                  <a href="index.php">  <li class="xianshi">首&nbsp;&nbsp;页</li></a>
                  <a href="news.php?fl=公司新闻">  <li>新闻动态</li></a>
                  <a href="service.php?sv=服务承诺">  <li>服务支持</li></a>
                  <a href="products_and_solution.php?fl=后背式">  <li>森特产品与方案</li></a>
                  <a href="buy.php?buy=渠道代理">  <li>如何购买</li></a>
                  <a href="about_us.php?fl=公司简介">  <li>关于森特</li></a>
                  <a href="recruit.php?cls=招聘动态">  <li>招贤纳士</li></a>
              </ul>
          </div>
    </div>
<!--  nav-->   
    <?php
        include "config.php";
        $sql="select * from index_focus where dis='y'";
        $ret=$mysqli->query($sql);
    ?>
  <!--s s -->
<div class="slider">
  <div class="bd">
    <ul>
        <?php
        while($rows=$ret->fetch_assoc()) {
            ?>
            <li><a href="<?php echo $rows['link'];?>"><img src="<?php echo $rows['image'];?>" alt="<?php echo $rows['title'];?>"/></a>
            </li>
            <?php
        }
        ?>
    </ul>
  </div>
  <div class="hd">
    <ul>
    </ul>
  </div>
  <div class="pnBtn prev"> <span class="blackBg"></span> <a class="arrow" href="javascript:void(0)"><img src="images/main_4.png" alt="" width="57" height="60" /></a> </div>
  <div class="pnBtn next"> <span class="blackBg"></span> <a class="arrow" href="javascript:void(0)"><img src="images/main_5.png" alt="" width="55" height="60" /></a> </div>
</div>

 <!-- 公司介绍-->
    <div class="corporation">   
    <div class="left">
      <div class="left_main">
      <li class="lia"> 公司简介/About Us</li>
      <li class="font15px">注重产品与服务的质量，您的满意是我们最大的支持！</li>
      <a href="about_us.php"><li class="font15px a11"><span> > </span>查看详细</li></a>
      
      </div>
    </div>
    <div class="right">
      <div class="left1">
      <img src="img/main_right_2.png" width="107" height="111" /> </div>
  <div class="right">
            <img src="img/main_right_1.png" width="216" height="217" /></div>
      </div>
      
       <!-- 4部小车-->
    <div class="xia">
        <?php
            $sql="select * from index_centrenav";
            $ret=$mysqli->query($sql);
            while($rows=$ret->fetch_assoc()) {
                ?>
                <a href="<?php echo $rows['link'];?>">
                <div class="xiao1">
                    <ul>
                        <img src="<?php echo $rows['img'];?>" width="55" height="52"/>
                        <li><?php echo $rows['title'];?></li>
                    </ul>
                    <p><?php echo $rows['contacts'];?></p>

                </div></a>
                <?php
            }
        ?>
      </div>
  </div>
  
  <!-- 生产理念  -->
  <div class="linian">
    <div class="linian_main">
    <li class="font30px"><span><img src="img/xian_xian-23.png" width="76" height="29" /></span> &nbsp;&nbsp;生产理念/Conceot&nbsp;&nbsp;<span><img src="img/xian_xian-23.png" width="76" height="29" /></span></li>
        <?php
            $sql="SELECT * FROM index_conceot";
            $ret=$mysqli->query($sql);
            while($rows=$ret->fetch_assoc()) {
                ?>
                <a href="<?php echo $rows['link'];?>">
                <div class="linian_xia">
                    <span><img src="<?php echo $rows['images'];?>" width="311" height="165"/></span>
                    <li class="font17px"><span><img src="img/linian_xia04.png" width="19" height="15"/></span>&nbsp;&nbsp;<?php echo $rows['title'];?>
                    </li>
                    <p class="font14px"> <?php echo $rows['content'];?></p>

                </div>
                </a>
                <?php
            }
        ?>

    </div>
  </div>
    <!-- 产品展示  -->
  <div class="chanpin">
  <li class="font30px"><span> <img src="img/hei_xian1.png" width="69" height="30" /></span> &nbsp;&nbsp;生产展示/Products&nbsp;&nbsp;<span><img src="img/hei_xian1.png" width="69" height="30" /></span></li>
    <li class="font18px">最新产品系列给您不一样的体验</li>	
    <div class="chanpin_left">
        <?php
        $sql="select * from index_products where dx='big'";
        $rows=$mysqli->query($sql)->fetch_assoc();
        ?>
       <div class="a1">
              <a href="<?php echo $rows['link']?>">
               <ul class="datu">
          <li class="tu"><img src="<?php echo $rows['pic']?>" width="276" height="276" /></li>
          </ul></a>
                <li class="font14px"><span><img src="img/linian_xia04.png" width="19" height="15" /></span>&nbsp;<?php echo $rows['name']?></li>
      </div>
        <?php
            $sql="select * from index_products where dx='small'";
            $ret=$mysqli->query($sql);
            while($rows=$ret->fetch_assoc()) {
                ?>
                <div class="a2">
                    <a href="<?php echo $rows['link']?>">
                        <ul class="tu_right">
                            <li class="tu"><span> <img src="<?php echo $rows['pic']?>" width="113" height="112"/></span></li>

                        </ul>
                    </a>
                    <li class="font14px"><span><img src="img/linian_xia04.png" width="19" height="15"/></span>&nbsp;<?php echo $rows['name']?>
                    </li>
                </div>
                <?php
            }
        ?>

    </div>
    
    <div class="xia">
    <a href="products_and_solution.php"><li><span>></span>&nbsp;&nbsp;分类查看</li></a>
    </div>
  </div>
  
  <!-- 更多产品 -->
  



  <!--   lainiasd-->
<DIV class=feature id=my-glider>
  <DIV class=scroller>
    <DIV class=content>
        <?php
            $sql="select * from index_prducts_roll";
            $ret=$mysqli->query($sql);
            while($r=$ret->fetch_assoc()){
                $jh[]=$r;
            }

            $rows = array_chunk($jh, 4);
            $i=1;
            foreach($rows as $v) {
                ?>
                <DIV class=section id=section<?php echo $i++;?>>

                    <?php
                    foreach ($v as $a) {
                        ?>
                        <A href="<?php echo $a['link'];?>" target="_blank"><IMG src="<?php echo $a['image'];?>"></A>
                        <?php
                    }
                    ?>

    </DIV>
                <?php
            }
        ?>
    </DIV>
  </DIV>
  <A id=prevLink onClick="my_glider.previous();return false;" href="http://www.mobanwang.cn/">Previous</A>&nbsp;
   <A id=nextLink onClick="my_glider.next();return false" href="http://www.mobanwang.cn/">Next</A>
  <SCRIPT language=javascript type=text/javascript>
	var my_glider = new Glider('my-glider', {duration:0.5});
</SCRIPT>
</DIV>



 <!--   lainiasd-->

  <!-- 更多产品 -->
  
  <!-- 公司新闻 -->
  <div class="chanpin">
  <li class="font30px"><span> <img src="img/hei_xian1.png" width="69" height="30" /></span> &nbsp;&nbsp;公司新闻/News&nbsp;&nbsp;<span><img src="img/hei_xian1.png" width="69" height="30" /></span></li>
      <?php
      $sql="select * from news limit 0,3";
      $ret=$mysqli->query($sql);
      while($rows=$ret->fetch_assoc()) {
          ?>

          <div class="wei_1">
              <a href="news_details.php?id=<?php echo $rows['id']?>">
              <img src="<?php preg_match('/<img.+src=\"?(.+\.(jpg|gif|bmp|bnp|png))\"?.+>/i',$rows['content'],$match);
              echo $match[1]; ?>" width="312" height="163"/>
              <a href="news_details.php?id=<?php echo $rows['id']?>"><?php echo $rows['title'];?></a>
              <li><span><img src="img/linian_xia04.png" width="19" height="15"/></span>
                  <?php echo mb_substr(trim(strip_tags($rows['content'])),0,76,'utf-8');?>。。。
              </li>
              </a>
              <a href="news.php?fl=<?php echo $rows['class']?>" class="more">更多</a>
          </div>
          <?php
      }
      ?>
 
</div>
<!--  footer-->
 <div class="footers">
   
    <div class="footer">
         <div class="a footer_1">
          <h4>森特电子有限公司</h4>
            <ul class="aa">
                <li>电话</li>
                 <li>020&nbsp;38812035</li>
                  <li>传真</li>
                   <li>020&nbsp;38812035</li>
                    <li>TEL00</li>
                     <li>186	76289867</li>
                      <li>地址</li>
                       <li>广州市天河路365号&nbsp;天俊阁1202</li>
                       
            </ul>
        
        </div>
         <div class="a footer_2">
            <h4>新闻动态</h4>
         
              <ul class="aa">
                  <?php
                  $sql="select * from news_list";
                  $ret=$mysqli->query($sql);
                  while($rows=$ret->fetch_assoc()) {
                      ?>
                      <li><a href="<?php echo $rows['link']?>"><?php echo $rows['class']?></a></li>
                      <?php
                  }
                  ?>
              </ul>
        </div>
         <div class="a footer_3">
           <h4>服务支持</h4>
         
                <ul class="aa">
                  <li><a href="#">服务承诺</a></li>
                  <li><a href="#">服务网点</a></li>
                  <li><a href="#">服务产品</a></li>
                  <li><a href="#">下载中心</a></li>
              
              </ul>
        </div>
         <div class="a footer_4">
           <h4>森特产品与方案</h4>
             <ul class="aa">
                 <?php
                 $sql="select * from pro_list";
                 $ret=$mysqli->query($sql);
                 while($rows=$ret->fetch_assoc()) {
                     ?>
                     <li><a href="<?php echo $rows['link']?>"><?php echo $rows['class']?></a></li>
                     <?php
                 }
                 ?>
              </ul>
          </div>
         <div class="a footer_5">
            <h4>如何购买</h4>
                <ul class="aa">
                          <li><a href="#">渠道代理</a></li>
                          <li><a href="#">如何选购</a></li>
                          <li><a href="#">常见问题</a></li>
        
                  </ul>
          </div>
         <div class="a footer_6">
           <h4>关于森特</h4>
         
             <ul class="aa">
                  <li><a href="#">公司简介</a></li>
                  <li><a href="#">企业理念</a></li>
                  <li><a href="#">公司地址</a></li>
                  <li><a href="#">分支机构</a></li>
               <li><a href="#">我们的荣誉</a></li>
       
              </ul>
           </div>
         <div class="a footer_7">
           <h4>招纳贤士</h4>
             <ul class="aa">
                    <li><a href="#">招聘动态</a></li>
                    <li><a href="#">高校招聘</a></li>
                    <li><a href="#">社会招聘</a></li>
           
              </ul>
        </div>
        
     
    </div>
    
<div class="tupian"><a href="#"><img src="img/footer_1.png" width="55" height="54" /></a>
    </div>
     <div class="footer_8"> 
  <p>森特电子科技有限公司版权所有©2004-2015 侵权必究 粤ICP备11021230号<a href="Admin/index.php" style="color: red"> 后台管理</a></p>
        </div> 
   </div>
</div>
<style>
.slider .hd li {
	display:inline-block;
	*display:inline;
	zoom:1;
	width:8px;
	height:8px;
	line-height:99px;
	overflow:hidden;
	margin:0 5px;
	cursor:pointer;
	filter:alpha(opacity=60);
	opacity:0.6;
	background-image: url(images/slider-btn.png);
	background-repeat: no-repeat;
	background-position: 0 -10px;
}</style>
<script type="text/javascript">
jQuery(".slider .bd li").first().before( jQuery(".slider .bd li").last() );
jQuery(".xiao1 ul:first").addClass("aa1");
jQuery(".slider").hover(function(){ jQuery(this).find(".arrow").stop(true,true).fadeIn(300) },function(){ jQuery(this).find(".arrow").fadeOut(300) });				jQuery(".slider").slide({ titCell:".hd ul", mainCell:".bd ul", effect:"leftLoop",autoPlay:true, vis:3,autoPage:true, trigger:"click"});
</script>

</body>
</html>
